module.exports = {
  // runtimeCompiler: true,
  productionSourceMap: false,
  devServer: {
    proxy: 'http://47.97.102.198/'
  },
  css: {
    loaderOptions: {
      less: {
        javascriptEnabled: true
      }
    }
  },
  chainWebpack: config => {
    config.optimization.minimizer('terser').tap((args) => {
      args[0].terserOptions.compress.drop_console = true
      return args
    })
  }
}